package com.xiaoshuidi.cloud.module.member.controller.app.activities.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

@Schema(description = "租客APP - 报名 Request VO")
@Data
@ToString(callSuper = true)
public class EnrollVO {
    @Schema(description = "活动id")
    @NotNull(message = "活动id不能为空")
    private Long activityId;

    @NotNull(message = "活动项不能为空")
    @Schema(description = "活动项")
    private List<EnrollItem> items;
}
